<div *ngIf="options?.data" class="alert alert-{{ options?.theme }} text-{{ options?.position }}" role="alert">
  <ng-tools-dynamic-component *ngIf="options?.dynamicComponent"
                              [component]="options?.dynamicComponent?.component"
                              [events]="options?.dynamicComponent?.events"
                              [data]="options?.dynamicComponent?.data"></ng-tools-dynamic-component>
  <span *ngIf="!options?.dynamicComponent">
    {{ options?.data }}
  </span>
</div>
